home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8"?> <html><head><title>Minute Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03030202"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css"> p.P1{ } p.P2{ } span.T1{ font-weight:bold;} </style></head><body> <help:to-be-embedded Eid="minute" xmlns:help="http://openoffice.org/2000/help"> <p class="Head1"><help:link Id="66487">Minute Function [Runtime]</help:link></p> <p class="Paragraph">Returns the minute of the hour corresponding to a serial time value generated by TimeSerial or TimeValue.</p> </help:to-be-embedded> <p class="Paragraph"><span class="T1">Syntax</span>:</p> <p class="Paragraph">Minute (Number) <help:key-word value="Minute" tag="kw66487_1" xmlns:help="http://openoffice.org/2000/help"/></p> <p class="Paragraph"><span class="T1">Return value</span>:</p> <p class="Paragraph">Integer</p> <p class="Paragraph"><span class="T1">Parameter</span>:</p> <p class="Paragraph">Number: Numeric expression that contains the serial time value from which to return the minute.</p> <p class="Paragraph">This function is the inverse function of <span class="T1">TimeSerial</span>. It returns the minute of a specified serial time value generated by <span class="T1">TimeSerial</span> or <span class="T1">TimeValue</span>. Thus, the expression</p> <p class="Paragraph">Print Minute(TimeSerial(12:30:41))</p> <p class="Paragraph">returns the value 30.</p> <p class="P2">Example:</p> <p class="PropText">Sub ExampleMinute</p> <p class="PropText">MsgBox "The current minute is "& Minute(Now)& "."</p> <p class="PropText">end sub</p> </body></html>